<template>
  <div>
    <div class="demo">
      <h1 @click="showName">学生姓名：{{name}}</h1>
      <h1>年龄：{{age+1}}</h1>
    </div>
  </div>
</template>

<script>
// import {hunhe} from "@/mixin";

export default {
  name: "Student",
  data() {
    return {
      msg: 'hello',
      name: "张三",
      age: 12
    }
  },
  // mixins: [hunhe],
  methods: {

  },
  created() {
  }
}
</script>

<style scoped>
  .demo {
    background: orange;
  }
</style>